angular.module('faApp')
  .service('updateOrderService', [ 'ajaxService',function (ajaxService) {

    this.updateOrderDetail = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("ORDER_UPDATE_ORDER_EDIT"), cfg || {});
    };  
      
    this.queryOrderDetail = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("ORDER_UPDATE_ORDER_DETAIL"), cfg || {});
    };  

    this.saveOrderIdList = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("ORDER_UPDATE_ORDER_SAVE"), cfg || {});
    };  

   this.getOrderIdList = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("ORDER_UPDATE_ORDER_QUERY"), cfg || {});
    };  

}]);